import Vue from "vue"
import Router from "vue-router"

Vue.use(Router)

const routes = [
	{
		path: "/",
		redirect: "home",		
	},
	{
		path: "/home",
		name: "home",
		component: () => import("@/views/Home.vue"), 
	},
	
	{
		path: "/qrcodeGenerater",
		name: "qrcodeGenerater",
		component: () => import("@/views/qrcode/QrcodeGenerater.vue"), 
	},
	{
		path: "/qrcodeReader",
		name: "qrcodeReader",
		component: () => import("@/views/qrcode/QrcodeReader.vue"), 
	},

  



]

const router = new Router({ 
  routes
})

export default router
